package util;

import java.sql.Connection;
import java.sql.SQLException;

import com.mchange.v2.c3p0.ComboPooledDataSource;

public class C3P0Util {

	private static ComboPooledDataSource dataSources;
	static{
		dataSources = new ComboPooledDataSource();
	}
	
	
	public static Connection getConnection() throws SQLException{
		return dataSources.getConnection();
	}
	
	
}
